
package gui;

import javax.swing.JLabel;
import javax.swing.JFrame;
import javax.swing.SwingConstants;
import java.awt.Color;
import java.awt.Font;

public class QLogo extends JFrame {

	private JLabel text = new JLabel("");

  public QLogo(int x, int y) {
		super();
		setSize(38, 50);
		setLocation(x, y);
		setResizable(false);
		setUndecorated(true);

		text.setForeground(new Color(0, 0, 0));
		text.setBackground(new Color(204, 153, 0));
		text.setFont(new Font("Impact", 1, 36));
		text.setHorizontalAlignment(SwingConstants.CENTER);
		text.setVerticalAlignment(SwingConstants.CENTER);
		text.setOpaque(true);
		text.setSize(40, 50);
		text.setLocation(0, 0);
		text.setText("Q");

		getContentPane().setLayout(null);

		getContentPane().add(text);
		
		setDefaultCloseOperation(EXIT_ON_CLOSE);

		setVisible(true);
	}

}

// vim:set fenc=latin2 noexpandtab:
